package com.vcredit.bird.monitor;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.net.SocketTimeoutException;
import com.vcredit.creditcat.exception.BirdRequestFailException;

@Documented
@Inherited
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Monitor {
	
	@SuppressWarnings("rawtypes")
	Class[] handle() default {SocketTimeoutException.class,BirdRequestFailException.class};
	String value() default "";
}
